package graphs;

import model.Junction;
import model.Road;

public class TwoRouteSameSpeedGraph extends Graph {
	private Junction start;
	private Junction middle;
	private Junction end;
	
	public TwoRouteSameSpeedGraph(){
		start=new Junction();
		middle=new Junction();
		end=new Junction();
		junctions.add(start);
		junctions.add(middle);
		junctions.add(end);
		
		new Road(start,middle,"a",10,10);
		new Road(start,middle,"b",10,10);
		new Road(middle,end,"c",10,10);
		new Road(middle,end,"d",10,10);
		
		super.check();
	}
	
	@Override
	public Junction getStart() {
		return start;
	}

	@Override
	public Junction getEnd() {
		return end;
	}

}
